package com.example.dql.diary.Suspending;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.example.dql.diary.Model.SusContentDTO;
import com.example.dql.diary.R;

import java.util.List;

/**
 * Created by dql on 2018/3/30.
 */

public class SuspendingAdapter extends BaseQuickAdapter<SusContentDTO,BaseViewHolder> {
	public SuspendingAdapter(@Nullable List<SusContentDTO> data) {
		super(R.layout.item_suspending,data);
	}

	@Override
	protected void convert(BaseViewHolder helper, SusContentDTO item) {
		helper.setText(R.id.item_sus_content,item.getText());
	}
}
